package com.agy.filemanager.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ProTypeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ProTypeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("CODE is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("CODE =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("CODE <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("CODE >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CODE >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("CODE <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("CODE <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("CODE like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("CODE not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("CODE in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("CODE not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("CODE between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("CODE not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andOrgidIsNull() {
            addCriterion("ORGID is null");
            return (Criteria) this;
        }

        public Criteria andOrgidIsNotNull() {
            addCriterion("ORGID is not null");
            return (Criteria) this;
        }

        public Criteria andOrgidEqualTo(String value) {
            addCriterion("ORGID =", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidNotEqualTo(String value) {
            addCriterion("ORGID <>", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidGreaterThan(String value) {
            addCriterion("ORGID >", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidGreaterThanOrEqualTo(String value) {
            addCriterion("ORGID >=", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidLessThan(String value) {
            addCriterion("ORGID <", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidLessThanOrEqualTo(String value) {
            addCriterion("ORGID <=", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidLike(String value) {
            addCriterion("ORGID like", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidNotLike(String value) {
            addCriterion("ORGID not like", value, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidIn(List<String> values) {
            addCriterion("ORGID in", values, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidNotIn(List<String> values) {
            addCriterion("ORGID not in", values, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidBetween(String value1, String value2) {
            addCriterion("ORGID between", value1, value2, "orgid");
            return (Criteria) this;
        }

        public Criteria andOrgidNotBetween(String value1, String value2) {
            addCriterion("ORGID not between", value1, value2, "orgid");
            return (Criteria) this;
        }

        public Criteria andIsyesIsNull() {
            addCriterion("ISYES is null");
            return (Criteria) this;
        }

        public Criteria andIsyesIsNotNull() {
            addCriterion("ISYES is not null");
            return (Criteria) this;
        }

        public Criteria andIsyesEqualTo(Boolean value) {
            addCriterion("ISYES =", value, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesNotEqualTo(Boolean value) {
            addCriterion("ISYES <>", value, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesGreaterThan(Boolean value) {
            addCriterion("ISYES >", value, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesGreaterThanOrEqualTo(Boolean value) {
            addCriterion("ISYES >=", value, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesLessThan(Boolean value) {
            addCriterion("ISYES <", value, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesLessThanOrEqualTo(Boolean value) {
            addCriterion("ISYES <=", value, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesIn(List<Boolean> values) {
            addCriterion("ISYES in", values, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesNotIn(List<Boolean> values) {
            addCriterion("ISYES not in", values, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesBetween(Boolean value1, Boolean value2) {
            addCriterion("ISYES between", value1, value2, "isyes");
            return (Criteria) this;
        }

        public Criteria andIsyesNotBetween(Boolean value1, Boolean value2) {
            addCriterion("ISYES not between", value1, value2, "isyes");
            return (Criteria) this;
        }

        public Criteria andSortIsNull() {
            addCriterion("SORT is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("SORT is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("SORT =", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotEqualTo(Integer value) {
            addCriterion("SORT <>", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("SORT >", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("SORT >=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThan(Integer value) {
            addCriterion("SORT <", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortLessThanOrEqualTo(Integer value) {
            addCriterion("SORT <=", value, "sort");
            return (Criteria) this;
        }

        public Criteria andSortIn(List<Integer> values) {
            addCriterion("SORT in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotIn(List<Integer> values) {
            addCriterion("SORT not in", values, "sort");
            return (Criteria) this;
        }

        public Criteria andSortBetween(Integer value1, Integer value2) {
            addCriterion("SORT between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andSortNotBetween(Integer value1, Integer value2) {
            addCriterion("SORT not between", value1, value2, "sort");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("REMARK is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("REMARK =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("REMARK <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("REMARK >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("REMARK >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("REMARK <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("REMARK <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("REMARK like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("REMARK not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("REMARK in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("REMARK not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("REMARK between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("REMARK not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andSteptypeidIsNull() {
            addCriterion("STEPTYPEID is null");
            return (Criteria) this;
        }

        public Criteria andSteptypeidIsNotNull() {
            addCriterion("STEPTYPEID is not null");
            return (Criteria) this;
        }

        public Criteria andSteptypeidEqualTo(String value) {
            addCriterion("STEPTYPEID =", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidNotEqualTo(String value) {
            addCriterion("STEPTYPEID <>", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidGreaterThan(String value) {
            addCriterion("STEPTYPEID >", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidGreaterThanOrEqualTo(String value) {
            addCriterion("STEPTYPEID >=", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidLessThan(String value) {
            addCriterion("STEPTYPEID <", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidLessThanOrEqualTo(String value) {
            addCriterion("STEPTYPEID <=", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidLike(String value) {
            addCriterion("STEPTYPEID like", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidNotLike(String value) {
            addCriterion("STEPTYPEID not like", value, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidIn(List<String> values) {
            addCriterion("STEPTYPEID in", values, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidNotIn(List<String> values) {
            addCriterion("STEPTYPEID not in", values, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidBetween(String value1, String value2) {
            addCriterion("STEPTYPEID between", value1, value2, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypeidNotBetween(String value1, String value2) {
            addCriterion("STEPTYPEID not between", value1, value2, "steptypeid");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanIsNull() {
            addCriterion("STEPTYPEMEAN is null");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanIsNotNull() {
            addCriterion("STEPTYPEMEAN is not null");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanEqualTo(String value) {
            addCriterion("STEPTYPEMEAN =", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanNotEqualTo(String value) {
            addCriterion("STEPTYPEMEAN <>", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanGreaterThan(String value) {
            addCriterion("STEPTYPEMEAN >", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanGreaterThanOrEqualTo(String value) {
            addCriterion("STEPTYPEMEAN >=", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanLessThan(String value) {
            addCriterion("STEPTYPEMEAN <", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanLessThanOrEqualTo(String value) {
            addCriterion("STEPTYPEMEAN <=", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanLike(String value) {
            addCriterion("STEPTYPEMEAN like", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanNotLike(String value) {
            addCriterion("STEPTYPEMEAN not like", value, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanIn(List<String> values) {
            addCriterion("STEPTYPEMEAN in", values, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanNotIn(List<String> values) {
            addCriterion("STEPTYPEMEAN not in", values, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanBetween(String value1, String value2) {
            addCriterion("STEPTYPEMEAN between", value1, value2, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andSteptypemeanNotBetween(String value1, String value2) {
            addCriterion("STEPTYPEMEAN not between", value1, value2, "steptypemean");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridIsNull() {
            addCriterion("REGISTER_USERID is null");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridIsNotNull() {
            addCriterion("REGISTER_USERID is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridEqualTo(String value) {
            addCriterion("REGISTER_USERID =", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridNotEqualTo(String value) {
            addCriterion("REGISTER_USERID <>", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridGreaterThan(String value) {
            addCriterion("REGISTER_USERID >", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridGreaterThanOrEqualTo(String value) {
            addCriterion("REGISTER_USERID >=", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridLessThan(String value) {
            addCriterion("REGISTER_USERID <", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridLessThanOrEqualTo(String value) {
            addCriterion("REGISTER_USERID <=", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridLike(String value) {
            addCriterion("REGISTER_USERID like", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridNotLike(String value) {
            addCriterion("REGISTER_USERID not like", value, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridIn(List<String> values) {
            addCriterion("REGISTER_USERID in", values, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridNotIn(List<String> values) {
            addCriterion("REGISTER_USERID not in", values, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridBetween(String value1, String value2) {
            addCriterion("REGISTER_USERID between", value1, value2, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterUseridNotBetween(String value1, String value2) {
            addCriterion("REGISTER_USERID not between", value1, value2, "registerUserid");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptIsNull() {
            addCriterion("REGISTER_DEPT is null");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptIsNotNull() {
            addCriterion("REGISTER_DEPT is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptEqualTo(String value) {
            addCriterion("REGISTER_DEPT =", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptNotEqualTo(String value) {
            addCriterion("REGISTER_DEPT <>", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptGreaterThan(String value) {
            addCriterion("REGISTER_DEPT >", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptGreaterThanOrEqualTo(String value) {
            addCriterion("REGISTER_DEPT >=", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptLessThan(String value) {
            addCriterion("REGISTER_DEPT <", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptLessThanOrEqualTo(String value) {
            addCriterion("REGISTER_DEPT <=", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptLike(String value) {
            addCriterion("REGISTER_DEPT like", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptNotLike(String value) {
            addCriterion("REGISTER_DEPT not like", value, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptIn(List<String> values) {
            addCriterion("REGISTER_DEPT in", values, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptNotIn(List<String> values) {
            addCriterion("REGISTER_DEPT not in", values, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptBetween(String value1, String value2) {
            addCriterion("REGISTER_DEPT between", value1, value2, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterDeptNotBetween(String value1, String value2) {
            addCriterion("REGISTER_DEPT not between", value1, value2, "registerDept");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNull() {
            addCriterion("REGISTER_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNotNull() {
            addCriterion("REGISTER_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeEqualTo(Date value) {
            addCriterion("REGISTER_TIME =", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotEqualTo(Date value) {
            addCriterion("REGISTER_TIME <>", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThan(Date value) {
            addCriterion("REGISTER_TIME >", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REGISTER_TIME >=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThan(Date value) {
            addCriterion("REGISTER_TIME <", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThanOrEqualTo(Date value) {
            addCriterion("REGISTER_TIME <=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIn(List<Date> values) {
            addCriterion("REGISTER_TIME in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotIn(List<Date> values) {
            addCriterion("REGISTER_TIME not in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeBetween(Date value1, Date value2) {
            addCriterion("REGISTER_TIME between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotBetween(Date value1, Date value2) {
            addCriterion("REGISTER_TIME not between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andEditUseridIsNull() {
            addCriterion("EDIT_USERID is null");
            return (Criteria) this;
        }

        public Criteria andEditUseridIsNotNull() {
            addCriterion("EDIT_USERID is not null");
            return (Criteria) this;
        }

        public Criteria andEditUseridEqualTo(String value) {
            addCriterion("EDIT_USERID =", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridNotEqualTo(String value) {
            addCriterion("EDIT_USERID <>", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridGreaterThan(String value) {
            addCriterion("EDIT_USERID >", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridGreaterThanOrEqualTo(String value) {
            addCriterion("EDIT_USERID >=", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridLessThan(String value) {
            addCriterion("EDIT_USERID <", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridLessThanOrEqualTo(String value) {
            addCriterion("EDIT_USERID <=", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridLike(String value) {
            addCriterion("EDIT_USERID like", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridNotLike(String value) {
            addCriterion("EDIT_USERID not like", value, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridIn(List<String> values) {
            addCriterion("EDIT_USERID in", values, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridNotIn(List<String> values) {
            addCriterion("EDIT_USERID not in", values, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridBetween(String value1, String value2) {
            addCriterion("EDIT_USERID between", value1, value2, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditUseridNotBetween(String value1, String value2) {
            addCriterion("EDIT_USERID not between", value1, value2, "editUserid");
            return (Criteria) this;
        }

        public Criteria andEditDeptIsNull() {
            addCriterion("EDIT_DEPT is null");
            return (Criteria) this;
        }

        public Criteria andEditDeptIsNotNull() {
            addCriterion("EDIT_DEPT is not null");
            return (Criteria) this;
        }

        public Criteria andEditDeptEqualTo(String value) {
            addCriterion("EDIT_DEPT =", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptNotEqualTo(String value) {
            addCriterion("EDIT_DEPT <>", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptGreaterThan(String value) {
            addCriterion("EDIT_DEPT >", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptGreaterThanOrEqualTo(String value) {
            addCriterion("EDIT_DEPT >=", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptLessThan(String value) {
            addCriterion("EDIT_DEPT <", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptLessThanOrEqualTo(String value) {
            addCriterion("EDIT_DEPT <=", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptLike(String value) {
            addCriterion("EDIT_DEPT like", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptNotLike(String value) {
            addCriterion("EDIT_DEPT not like", value, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptIn(List<String> values) {
            addCriterion("EDIT_DEPT in", values, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptNotIn(List<String> values) {
            addCriterion("EDIT_DEPT not in", values, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptBetween(String value1, String value2) {
            addCriterion("EDIT_DEPT between", value1, value2, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditDeptNotBetween(String value1, String value2) {
            addCriterion("EDIT_DEPT not between", value1, value2, "editDept");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNull() {
            addCriterion("EDIT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNotNull() {
            addCriterion("EDIT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andEditTimeEqualTo(Date value) {
            addCriterion("EDIT_TIME =", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotEqualTo(Date value) {
            addCriterion("EDIT_TIME <>", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThan(Date value) {
            addCriterion("EDIT_TIME >", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EDIT_TIME >=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThan(Date value) {
            addCriterion("EDIT_TIME <", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThanOrEqualTo(Date value) {
            addCriterion("EDIT_TIME <=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeIn(List<Date> values) {
            addCriterion("EDIT_TIME in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotIn(List<Date> values) {
            addCriterion("EDIT_TIME not in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeBetween(Date value1, Date value2) {
            addCriterion("EDIT_TIME between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotBetween(Date value1, Date value2) {
            addCriterion("EDIT_TIME not between", value1, value2, "editTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}